﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace BasicData.Infrastructure.Migrations
{
    public partial class lohnm1 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "operatedBy",
                table: "Suppliers",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "operatedBy",
                table: "SlaughterInfos",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "operatedBy",
                table: "SlaughterCompanies",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "operatedBy",
                table: "ProductionInfos",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "operatedBy",
                table: "Processings",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "operatedBy",
                table: "ProcessingCompanies",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "operatedBy",
                table: "ImageInfos",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "operatedBy",
                table: "BreedingInfos",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "operatedBy",
                table: "BreedingHealthInfos",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "operatedBy",
                table: "BreedingCompanies",
                type: "nvarchar(max)",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "operatedBy",
                table: "Suppliers");

            migrationBuilder.DropColumn(
                name: "operatedBy",
                table: "SlaughterInfos");

            migrationBuilder.DropColumn(
                name: "operatedBy",
                table: "SlaughterCompanies");

            migrationBuilder.DropColumn(
                name: "operatedBy",
                table: "ProductionInfos");

            migrationBuilder.DropColumn(
                name: "operatedBy",
                table: "Processings");

            migrationBuilder.DropColumn(
                name: "operatedBy",
                table: "ProcessingCompanies");

            migrationBuilder.DropColumn(
                name: "operatedBy",
                table: "ImageInfos");

            migrationBuilder.DropColumn(
                name: "operatedBy",
                table: "BreedingInfos");

            migrationBuilder.DropColumn(
                name: "operatedBy",
                table: "BreedingHealthInfos");

            migrationBuilder.DropColumn(
                name: "operatedBy",
                table: "BreedingCompanies");
        }
    }
}
